<?php

use think\facade\Route;


Route::group('admin', function () {
    //积分列表
    Route::get('AdminAtv/integralList', 'AdminAtv/integralList');
    //添加积分商城规则
    Route::post('AdminAtv/integralAdd', 'AdminAtv/integralAdd');
    //积分活动详情
    Route::get('AdminAtv/integralInfo', 'AdminAtv/integralInfo');
    //积分活动编辑
    Route::post('AdminAtv/integralUpdate', 'AdminAtv/integralUpdate');
    //积分兑换列表
    Route::get('AdminAtv/integralRecordList', 'AdminAtv/integralRecordList');





});


//商城后端路由表
Route::group('app', function () {
    //积分商城首页
    Route::get('IndexAtv/index', 'IndexAtv/index');
    //活动商品列表
    Route::get('IndexAtv/atvGoodsList', 'IndexAtv/atvGoodsList');
    //活动卡券列表
    Route::get('IndexAtv/atvCouponList', 'IndexAtv/atvCouponList');
    //积分兑换明细
    Route::get('IndexAtv/integralExchangeList', 'IndexAtv/integralExchangeList');









});

















